package cc.inik.po;

public class Rectangle {
    
    public Rectangle(int width,int height){
        
        this.height = height;
        this.width = width;
    }

    public int width;
    public int height;
    public int s;

    public int getS(){
        this.s = this.height*this.width;
        return this.s;
    }
    public void echo(){
        int i = 0;
        int j =0;
        while(i<7){
            if(j>4){
                System.out.println("'**'");
                i++;
                continue;
            }
            System.out.println("'*'");
            i++;
            j++;
        }
    }
}
